.header-dev {
  color: var(--inbiz-color-menu-top-selected);
}

.edocMenu-normalItem,
.edocMenu-popoverItem {
  display: flex;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: none;
  cursor: pointer;

  p {
    min-width: 14px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  &:hover {
    color: var(--inbiz-color-primary);
  }

  .edocMenu-normalItem-ico {
    margin-right: 5px;
    font-size: 16px;
  }

  .edocMenu-normalItem-expan {
    margin-left: 10px;
  }
}

.edocMenu-collMenuHeader {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding-right: 16px;
  overflow: hidden;
  color: var(--inbiz-color-menu-left-default);
  cursor: pointer;

  .ant-collapse-header {
    width: 100%;
    padding: 0;

    .ant-collapse-header-text {
      width: 100%;
    }
  }

  p {
    width: 100%;
    min-width: 40px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  &:hover {
    color: var(--inbiz-color-menu-top-selected);
  }

  .edocMenu-collMenuHeader-ico {
    margin-right: 5px;
    font-size: 16px;
  }

  .edocMenu-collMenuHeader-expan {
    margin-left: 10px;
  }
}

.edocMenu-popoverItem {
  height: 44px;
}

// 顶层pop样式修改
.edocMenu-popMenu-content,
.edocMenuColumn-popMenu-content {
  .edocMenu-normalItem,
  .edocMenu-popoverItem {
    align-items: center;
    height: 40px;
    margin-right: 0;
    padding-right: 16px;
    padding-left: 16px;
  }

  .ant-popover-arrow {
    display: none;
  }

  .ant-popover-content {
    margin-top: -16px;
  }

  .ant-popover-placement-rightTop {
    margin-top: 8px;
  }

  .ant-popover-inner-content {
    padding: 0;
  }
}

.edocMenu-popMenu-content {
  .ant-popover-inner-content {
    background-color: var(--inbiz-color-menu-top-child-bg) !important;
  }

  .dev {
    color: var(--inbiz-color-menu-top-child-selected) !important;
    background-color: var(--inbiz-color-menu-top-bg-child-selected);

    &.docMenu-normalItem-expan {
      color: var(--inbiz-color-menu-top-child-selected) !important;
    }
  }

  .edocMenu-normalItem,
  .edocMenu-popoverItem {
    color: var(--inbiz-color-menu-top-child-default);

    p {
      width: 100%;
      max-width: 160px;
      font-size: var(--inbiz-font-size-menu-top-child);
    }
  }

  .edocMenu-popoverItem:hover,
  .edocMenu-normalItem:hover {
    color: var(--inbiz-color-menu-top-child-selected);
    background-color: var(--inbiz-color-menu-top-bg-child-hover);

    .edocMenu-normalItem-expan {
      color: var(--inbiz-color-menu-top-child-selected) !important;
    }
  }
}

.edocMenuColumn-popMenu-content {
  .ant-popover-inner-content {
    background-color: var(--inbiz-color-menu-left-child-bg);
  }

  .edocMenu-normalItem,
  .edocMenu-normalItem-expan,
  .edocMenu-popoverItem {
    color: var(--inbiz-color-menu-left-child-default);
  }

  .edocMenu-normalItem,
  .edocMenu-popoverItem {
    p {
      width: 100%;
      font-size: var(--inbiz-font-size-menu-child-left);
    }
  }

  .edocMenu-popoverItem:hover,
  .edocMenu-normalItem:hover {
    color: var(--inbiz-color-menu-left-child-selected);
    background-color: var(--inbiz-color-menu-left-bg-child-hover);
  }

  .dev {
    color: var(--inbiz-color-menu-left-child-selected);
    background-color: var(--inbiz-color-menu-left-bg-child-selected);
  }
}

.ant-popover-placement-rightTop {
  .ant-popover-content {
    margin-top: -8px;
  }
}
